// 分类页所有用到的vuex相关内容
const fenleiStore = {
  namespaced: true,//命名空间   加了命名空间的模块 调用时候 要加命名空间
  state: {
    fid: 111,
    fdata: "你好"
  },
  mutations: {
    changeFid (state, fid) {
      state.fid = fid;
    }
  },
  getters: {
    fid: state => state.fid
  },
  actions: {
    fidActions ({ commit }, fid) {
      commit("changeFid", fid)
    }
  }
}
export default fenleiStore